package com.example.affair.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
@Mapper
public interface UserInfoMapper {
    @Insert("insert into user_info(user_name,password)values (#{name},#{password})")
    Integer insert(String name, String password);
}
